<?php $show_validate = true;
include THEMES_PATH . 'public/before_body2.phtml';
global $user;
?>
<link href="/statics/front/css/center.css" rel="stylesheet">
</head>
<body onLoad="showLeftTime()">
<?php include THEMES_PATH . 'public/header2.phtml'; ?>
<div class="title user-center-banner">
  <div class="main-width pt1x"><?php echo L('users_center'); ?></div>
</div>
<div class="clearfix main-width user-container">
  <div class="row">
    <div class="col-lg-2 col-md-3 col-sm-4 mb2x user-center-nav">
      <dl>
        <dt class="nav-dropdown"><?php echo L('order_center'); ?></dt>
        <dd class="nav-menu">
          <ul>
            <li><a href="<?php echo url('user/order_list');?>"<?php if($_SESSION['center_type'] == 1){echo ' class="active"';}?>><?php echo L('orderlist');?></a></li>
          </ul>
        </dd>
        <dt class="nav-dropdown"><?php echo L('customer_service'); ?></dt>
        <dd class="nav-menu">
          <ul>
            <li><a href="<?php echo url('user/order_purchase_product_list');?>"<?php if($_SESSION['center_type'] == 4){echo ' class="active"';}?>><?php echo L('repair_return');?></a></li>
          </ul>
        </dd>
        <dt class="nav-dropdown"><?php echo L('account_center'); ?></dt>
        <dd class="nav-menu">
          <ul>
            <li><a href="<?php echo url('user/info');?>"<?php if($_SESSION['center_type'] == 7){echo ' class="active"';}?>><?php echo L('userinfo')?></a></li>
            <li><a href="<?php echo url('user/user_safe');?>"<?php if($_SESSION['center_type'] == 8){echo ' class="active"';}?>><?php echo L('account_safe')?></a></li>
            <li><a href="<?php echo url('user/user_account');?>"<?php if($_SESSION['center_type'] == 9){echo ' class="active"';}?>><?php echo L('_account_balance_')?></a></li>
            <li><a href="<?php echo url('user/address_list');?>"<?php if($_SESSION['center_type'] == 13){echo ' class="active"';}?>><?php echo L('delivery_address')?></a></li>
          </ul>
        </dd>
        <dt class="nav-dropdown"><?php echo L('measure_center'); ?></dt>
        <dd class="nav-menu">
          <ul>
            <li><a href="<?php echo url('user/user_measure');?>"<?php if($_SESSION['center_type'] == 10){echo ' class="active"';}?>><?php echo L('my_measure')?></a></li>
          </ul>
        </dd>
      </dl>
    </div>
    <div class="col-lg-10 col-md-9 col-sm-8 user-center-content">
      <?php include $templatefile;?>
    </div>
  </div>
</div>
<?php
  if (MODULE_NAME.'/'.ACTION_NAME == 'User/user_measure') {
    include THEMES_PATH.'public/measure_guide.phtml';
  }
?>
<?php include THEMES_PATH . 'public/footer2.phtml';?>
<script src="/statics/front/js/scripts/user-center.js"></script>
<?php include THEMES_PATH . 'public/after_body.phtml';?>